package com.usefullc.user.param;

import com.usefullc.common.domain.BaseDomain;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Sampson
 * @date: 2022-02-14 16:06
 */
@ApiModel("用户登录参数")
@Data
public class UserAdminLoginParam  extends BaseDomain {

    @UsefulPropertyVerify(required = true,minLen = 2,maxLen = 50)
    @ApiModelProperty(notes = "账号",example = "admin",required = true)
    private String accountNo;

    @UsefulPropertyVerify(required = true,minLen = 32,maxLen = 32)
    @ApiModelProperty(notes = "密码",example = "e10adc3949ba59abbe56e057f20f883e",required = true)
    private String pwd;

    @UsefulPropertyVerify(required = true,minLen = 4,maxLen = 4)
    @ApiModelProperty(notes = "图形验证码",example = "1234",required = true)
    private String imgCode;

}
